import request from '@/utils/request'

// 查询容量法检验原始记录列表
export function listCapacity(query) {
  return request({
    url: '/Laboratory/Capacity/list',
    method: 'get',
    params: query
  })
}

// 查询容量法检验原始记录详细
export function getCapacity(id) {
  return request({
    url: '/Laboratory/Capacity/' + id,
    method: 'get'
  })
}

// 新增容量法检验原始记录
export function addCapacity(data) {
  return request({
    url: '/Laboratory/Capacity',
    method: 'post',
    data: data
  })
}

// 修改容量法检验原始记录
export function updateCapacity(data) {
  return request({
    url: '/Laboratory/Capacity',
    method: 'put',
    data: data
  })
}
export function checkCapacity(data) {
  return request({
    url: '/Laboratory/Capacity/check',
    method: 'put',
    data: data
  })
}
// 删除容量法检验原始记录
export function delCapacity(id) {
  return request({
    url: '/Laboratory/Capacity/' + id,
    method: 'delete'
  })
}
